package at.fhooe.mcm12.java.application;

import java.rmi.RemoteException;

import at.fhooe.mcm12.java.clients.ClientManager;
import at.fhooe.mcm12.java.clients.ConsoleClient;
import at.fhooe.mcm12.java.clients.GUIClient;
import at.fhooe.mcm12.java.sensors.SensorController;

public class EMS3001 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		try {
			new SensorController();
			new ClientManager();
		} catch (RemoteException e) {
			e.printStackTrace();
		}
		
		
		new GUIClient();
		new ConsoleClient();

		SensorGUIManager sgm = new SensorGUIManager("SensorManager");
		sgm.setVisible(true);
	}

}
